GtkCssProvider: Transform custom colors to a @define-color rule.
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 8 Oct 2010 16:19:34 +0000 (18:19 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Sat, 4 Dec 2010 14:38:18 +0000 (15:38 +0100)
commit1772b00e85d27d09d39f090e41a76f371e37d4d0
tree31c55fca72bae48b75f780cb516437c689313c15
parenta1a90396b7ba75f315173568906adc0686551fcf
GtkCssProvider: Transform custom colors to a @define-color rule.

Given there are other rules such as @import (which will be supported),
keep a sane namespace here, so for (re)defining a color name, in the CSS
file it will look like:

@define-color color-name #fff;
@define-color other-color mix (@color-name, #f00, 0.4);
gtk/gtkcssprovider.c